package ruru.client.backend.rpcWrapper;

import java.util.Date;

import ruru.client.RuruDkp;

import com.google.gwt.user.client.rpc.IsSerializable;

public class DkpChangeWrapper implements IsSerializable {
		private String description;
		private double value;
		private Date date;
		
		public DkpChangeWrapper() {
			
		}
		
		public DkpChangeWrapper(String description, double value, Date date) {
			this.description = description;
			this.value = value;
			this.date = date;
		}
		
		public String getDescription() {
			return description;
		}

		public double getValue() {
			return value;
		}
		
		public Date getDate() {
			return date;
		}
		
		public String toString() {
			return description + " [" + value + "] " + RuruDkp.dtf.format(date);
		}
	}